Systems and methods for providing file information in a memory system protocol

ABSTRACT

A controller of a memory device controls placement of data blocks by receiving, from a host electronic device, one or more commands of a memory system protocol. The commands include a write command with blocks of data to be stored in the memory device and contextual file system data for the blocks of data. The contextual file system data includes file metadata, file attributes, or both that identify an association of the one or more blocks of data with a file. The file is made up of the one or more blocks of data. The controller identifies the association of the one or more blocks of data with the file and executes the one or more commands, such that the one or more blocks of data are stored in the memory device with a placement based upon the association.

CROSS-REFERENCE TO RELATED APPLICATIONS

The present application is a continuation of U.S. application Ser. No.14/860,326, now U.S. Pat. No. 9,880,772, entitled “Systems and Methodsfor Providing File Information in a Memory System Protocol,” and filedSep. 21, 2015, the entirety of which is incorporated by reference hereinfor all purposes.

BACKGROUND 1. Field of the Invention

The present disclosure is generally related to performing dataoperations (e.g., read, write) using memory devices. More specifically,the present disclosure is related to providing file metadata and/orattributes from a host file system during data operations of theprotocol, thus enabling a number of new metadata and/or attribute-basedfunctionalities, which may improve system level performance and/orreliability.

2. Description of the Related Art

This section is intended to introduce the reader to various aspects ofart that may be related to various aspects of the present disclosure,which are described and/or claimed below. This discussion is believed tobe helpful in providing the reader with background information tofacilitate a better understanding of the various aspects of the presentdisclosure. Accordingly, it should be understood that these statementsare to be read in this light, and not as admissions of prior art.

Conventional protocols generally transmit data between a host and memorydevices with relatively little contextual information about thetransmitted data. Accordingly, a controller of the memory devices (e.g.,the flash translation layer) stores the data without regard tocontextual information (e.g., metadata and/or attributes) of the data.For example, in traditional data placement techniques, contextualinformation, such as file identifiers and/or metadata flags are notavailable to the controller of the memory devices. Thus, this contextualdata is not available for use in file placement. Therefore, thesetraditional data placement techniques result in unnecessary fragmentedplacement of data that is not based on contextual information of thedata. Such fragmentation may lead to less efficient data storage and/oraccess.

BRIEF DESCRIPTION OF THE DRAWINGS

Various aspects of this disclosure may better be understood upon readingthe following detailed description and upon reference to the drawings inwhich:

FIG. 1 illustrates a block diagram of an example of a computing system,in accordance with an embodiment;

FIG. 2 illustrates a block diagram of an example of metadata-based fileplacement functionalities implemented using a memory system protocol, inaccordance with an embodiment;

FIG. 3 illustrates performance improvements of the metadata-based fileplacement functionalities of FIG. 2 contrasted with traditional fileplacement techniques;

FIG. 4 illustrates a detailed packet level transmission for providingfile metadata, using a file-based access request bit in a command of thememory system protocol, in accordance with an embodiment;

FIG. 5 illustrates a flowchart for the detailed packet leveltransmission of FIG. 4, in accordance with an embodiment;

FIG. 6 illustrates a detailed packet level transmission for providingfile metadata, using a specialized context identifier in a command ofthe memory system protocol, in accordance with an embodiment;

FIG. 7 illustrates a flowchart for the detailed packet leveltransmission of FIG. 6, in accordance with an embodiment;

FIG. 8 illustrates a detailed packet level transmission for providingfile metadata, using a new command of the memory system protocol thatspecifies the access type and metadata, in accordance with anembodiment;

FIG. 9 illustrates a flowchart for the detailed packet leveltransmission of FIG. 8, in accordance with an embodiment;

FIG. 10 illustrates a detailed packet level transmission for providingfile metadata, using a series of new commands of the memory systemprotocol that specify the context and metadata, in accordance withembodiments;

FIG. 11 illustrates a flowchart for the detailed packet leveltransmission of FIG. 10, in accordance with an embodiment;

FIG. 12 illustrates a detailed packet level transmission for providingfile metadata, using a series of CMD45 commands of the memory systemprotocol that specify the context and metadata, in accordance withembodiments;

FIG. 13 illustrates a flowchart for the detailed packet leveltransmission of FIG. 12, in accordance with an embodiment;

FIG. 14 illustrates a detailed packet level transmission for providingfile metadata, using a series of CMD44/CMD45 command pairs that specifythe context and metadata, in accordance with embodiments;

FIG. 15 illustrates a flowchart for the detailed packet leveltransmission of FIG. 14, in accordance with an embodiment;

FIG. 16 illustrates a detailed packet level transmission for providingfile metadata, using a header-based transaction of the memory systemprotocol, in accordance with an embodiment;

FIG. 17 illustrates a detailed packet level transmission for providingfile metadata, using a register-based transaction of the memory systemprotocol, in accordance with an embodiment; and

FIG. 18 illustrates a detailed packet level transmission for providingfile metadata, using packed command extensions of the memory systemprotocol, in accordance with an embodiment.

DETAILED DESCRIPTION OF SPECIFIC EMBODIMENTS

One or more specific embodiments will be described below. In an effortto provide a concise description of these embodiments, not all featuresof an actual implementation are described in the specification. Itshould be appreciated that in the development of any such actualimplementation, as in any engineering or design project, numerousimplementation-specific decisions must be made to achieve thedevelopers' specific goals, such as compliance with system-related andbusiness-related constraints, which may vary from one implementation toanother. Moreover, it should be appreciated that such a developmenteffort might be complex and time consuming, but would nevertheless be aroutine undertaking of design, fabrication, and manufacture for those ofordinary skill having the benefit of this disclosure.

Overview

As will be discussed in detail below, the present disclosure generallyrelates to providing contextual file system data (e.g., metadata and/orattributes) related to transferred data blocks, via a memory systemprotocol, to memory devices of the protocol that store the data blocks.That is, a host device that provides data blocks via the memory systemprotocol may adjust certain operations to provide certain contextualinformation about the provided data to a memory device receiving thedata via the memory system protocol.

FIG. 1 illustrates a system 10 that provides data from a host 12 to anon-volatile managed memory system 14 according to a memory systemprotocol 16 (e.g., an embedded multimedia card (eMMC) protocol) via amemory system protocol bus. In one embodiment, the memory systemprotocol 16 may be a packet-based protocol that enables an efficient(e.g., power efficient, bit efficient) transmittal of packets of databetween memory devices, computing devices, and the like. The protocol 16may be implemented in a number of combinations with various types ofmemory and processors such as Automata processors, aProcessor-in-Memory, network devices, storage appliances, hierarchicalmemory, abstracted memory, and the like. As used herein, processors mayinclude any suitable processor capable of performing executableinstructions on a corresponding electrical device. The protocol 16 mayalso facilitate a broad range of devices including data centerswitches/routers, network routers, mobile devices, storage devices,Automata processors, Stream processors, processor-in-memory,work-moving-processors, Big Data, Big Graph, secure memory, virtualnetwork, general abstracted memory (e.g., Dynamic Random-Access Memory(DRAM), NAND, and emerging memories), and the like.

From time to time, the host device 12 may desire to transfer (e.g.,write) data from the file system 18 to the non-volatile managed memorysystem 14. For example, one or more files 20 may be transferred to thenon-volatile managed memory system 14 by providing one or more commandsfrom a driver 22 of the host device 12. The commands may conform tospecific commands described by the memory system protocol 16. In otherwords, the driver 22 may provide data in accordance with the memorysystem protocol 16.

The commands provided in accordance with the memory system protocol 16,from the driver 22, may be received at the controller 23 of thenon-volatile managed memory system 14. As may be appreciated, thecontroller 23 may include circuitry that can receive and interpretcommands that are described by the memory system protocol 16, inaccordance with firmware 24 of the controller 23. In other words, thecontroller 23 may receive and process data in accordance with the memorysystem protocol 16. Upon receiving data from the host device 12, thecontroller 23 may transfer the files 20 to non-volatile memory 26 of thenon-volatile managed memory system 14.

As illustrated in the current embodiment, the host device 12 may provideone or more file attributes 28 (e.g., contextual data and/or metadatarelated to the files 20) to the non-volatile managed memory system 14.For example, as described in more detail below, the driver 22 mayprovide commands in accordance with the memory system protocol 16 thatresult in provision of the attributes 28 to the controller 23 of thenon-volatile managed memory system 14. Accordingly, the controller 23may utilize the attributes 28 in processing functions of the files 20.For example, as will be discussed in more detail with regard to FIGS. 2and 3, in some embodiments, the attributes 28 may include a fileidentifier of transferred data blocks, which the controller 23 may useto place the data blocks (e.g., portions of the files 20) in a morecohesive, less fragmented manner.

Using the techniques provided herein, the controller 23 may become awareof additional information regarding received data blocks. For example,the data blocks may be associated with particular file identifiers thatenable the controller 23 to implement additional context-basedfunctionalities. FIG. 2 illustrates a block diagram 40 contrastingcontext-based file placement functionalities implemented usingattributes 28 provided by the host device 12 using memory systemprotocol commands with traditional file placement functionalities thatdo not use attributes 28.

In circumstances where the host device 12 provides concurrent data blockwrites (e.g., provides simultaneous write commands for two differentdata blocks of two different files 20A and 20B), it may be useful tohave information regarding file identities associated with the datablocks, during the write operations. To illustrate the benefit of suchcontextual data, placement results 44A of traditional concurrent filewrites 42A are provided to illustrate a comparison with concurrent filewrites 42B where file identifiers are known by the controller (e.g.,controller 23 of FIG. 1).

As illustrated, files 20A and 20B may be separated, by the host device12, into data blocks 46A and 46B, respectively. The data blocks 46A and46B may allow for smaller portions of the files 20 to be provided fromthe host device 12 to the non-volatile managed memory system 14. Whenthe data blocks 46A and 46B of the files 20A and 20B are concurrentlyprovided to the non-volatile managed memory system 14 via traditionaltechniques where the controller is unaware of contextual data (e.g.,file attributes/metadata, such as a file identifier and/or metadataflag), the placement of the blocks 46A and 46B may be interleaved,causing fragmentation of the overall files 20A and 20B. For example, asillustrated in the results 44A, blocks 46A are interleaved with blocks46B because some of the blocks 46A and 46B are received in aninterleaved fashion over time. Thus, these blocks 46A and 46B are placedin an interleaved fashion at the non-volatile managed memory system 14.

In contrast, as illustrated by the results 44B, when the controller isaware of contextual data, such as file identities associated with theblocks 46A and 46B, the controller may place the blocks 46A and 46B indifferent portions (e.g., portions 48A and 48B) of the memory 26 basedupon the file identity associated with each of the blocks 46A and 46B.For example, as illustrated, each of the blocks 46A are placed inportion 48A and each of the blocks 46B are placed in portion 48B,despite the interleaved reception of the blocks 46A and 46B over time.

FIG. 3 is a plot diagram 60 illustrating performance improvements of thecontext-based file placement functionalities of FIG. 2. Fragmentationmay have a profound impact on read performance of the non-volatilemanaged memory system 14. As illustrated by the plots 62 in FIG. 3,files written under a legacy approach where the controller is unaware offile identity, result in increased fragmentation. The fragmentationcorrelates with lower throughput for read operations.

However, as illustrated by the plots 64, when using the techniquesdescribed herein, where blocks are placed according to file identifiersthat the controller is aware of, fragmentation is greatly reduced. Suchdata placement may be referred to as File Aware Memory System (FAMS).The reduced fragmentation of FAMS may result in less data fragmentationand higher data throughput for read operations.

Implementation in Accordance with Memory System Protocols

The following embodiments illustrate techniques for providing contextualdata (e.g., file attributes/metadata) associated with data blockstransferred to a memory device during a write operation. The contextualdata may be provided via messages that correspond to a memory systemprotocol. For example, the following description relates tocommands/data that may be provided between the host device (e.g., hostdevice 12 of FIG. 1) and a non-volatile memory device (e.g.,non-volatile managed memory system 14 of FIG. 1), where the host device12 and the non-volatile managed memory system 14 communicate inaccordance with an embedded multimedia card (eMMC) protocol. Thecommunications include one or more attributes and/or metadatacorresponding to data written to the managed memory system 14 from afile system of the host device 12. The eMMC protocol includescommunications where commands may be queued and/or communications wheresingle commands are provided between the host 12 and the managed memorysystem 14. The discussion below includes command queuing and singlecommand embodiments for transmitting contextual data to the managedmemory system 14.

As may be appreciated, in the following discussion, varied amounts ofdata may be transmitted from the host device 12 to the managed memorysystem 14. The threshold amount of data may be defined according to aparticular file system 18, particular attributes 28 that are providedfrom the file system 18 to the controller 23, the firmware 24, or othercharacteristics of the system 10. For example, in the currentembodiments, 8 bytes or 16 bytes of data may be used to describe a fileidentifier. Further, while the embodiments below describe a fileidentifier and metadata flag being passed as metadata and/or attributes28, in alternative embodiments, additional and/or alternative metadataand/or attributes 28 may be provided in a similar fashion to theprovision of the file identifier and metadata flag. Further, asdiscussed below, in the following embodiments, the metadata and/orattributes 28 may be provided using existing commands of the memorysystem protocol 16, minimizing additional commands, operations, and/orregister changes, which may provide for a more robust and re-usablesystem 10.

To implement metadata and/or attribute provision to the memory device'scontroller 23 using write command operations of the protocol 16, it maybe useful to provide an indication that a particular write operationproviding the metadata and/or attribute 28 to the managed memory system14 is a metadata and/or attribute-based operation. Such an indicationmay help the controller 23 distinguish between commands intended toconvey data blocks and commands intended to convey metadata and/orattributes 28 along with the data blocks. As mentioned above, in thefollowing embodiments a file identifier and a metadata flag are providedto the controller 23. These metadata and/or attributes 28 are providedto implement file-based writes as discussed in FIGS. 2 and 3.Accordingly, the indication of commands intended to convey contextualinformation (e.g., metadata and/or attributes 28) may be referred to asa “file-based access” indication in the following embodiments. Further,the metadata and/or attributes 28 may be referred to as a “fileidentifier” and/or “metadata flag”, as these are the metadata and/orattributes 28 being provided in the following embodiments.

i. Command Queuing Embodiments

Turning now to particular embodiments for providing attributes and/ormetadata using command queuing techniques, FIGS. 4-15 illustrateparticular command queuing embodiments and processes that utilizecommands of the memory system protocol 16 to provide certain contextualdata (e.g., metadata and/or attributes 28) corresponding to data blocksprovided from the host device 12 to the managed memory system 14. In thefollowing embodiments, the metadata and/or attributes 28 include a fileidentifier and a metadata flag. However, the metadata and/or attributes28 are not limited to such data.

a. Embodiments Where Attributes are Transmitted at Execution Phase

FIGS. 4-7 illustrate embodiments where an unused bit or special contextidentifier are used to indicate file-based access. In these embodiments,the attributes are transferred at the beginning of the execution phase.As described herein, in some instances, alternative embodiments wherethe attributes are provided during the queuing phase may be moredesirable, as the attributes are available prior to task execution.

1. Unused Bits Indicating File-Based Access

Starting first with FIG. 4, FIG. 4 illustrates a detailed packet leveltransmission 80 for providing file metadata, using a file-based accessrequest bit in a command of the memory system protocol, in accordancewith an embodiment. As illustrated in FIG. 4, command queuingtransactions include three phases, a queuing phase 82, a polling phase84, and an execution phase 86. In the queuing phase 82, the host device12 queues created tasks for execution at the managed memory system 14.In the polling phase 84, the host device 12 may provide a pollinginquiry to determine whether the queued tasks are ready for execution atthe managed memory system 14. When the queued tasks are ready forexecution, the execution phase 86 commences, resulting in execution ofthe ready queued tasks.

The queuing phase 82 includes CMD44 commands 88 and CMD45 commands 90that are specified in the protocol 16. These commands are provided bythe host 12 to queue data block write tasks 93 and/or read tasks 95.

To queue tasks 93 and/or 95, the CMD44 commands 88 are provided from thehost 12 to the managed memory system 14. Upon receiving the CMD44commands 88, the managed memory system 14 provides an acknowledgmentresponse 89 to the host 12. In response, the host 12 provides a CMD45command 90. The CMD45 commands 90 may be used to indicate the startaddress 87 of a read and/or write operation associated with the tasks 95and/or 93 in command queuing mode. Upon reception at the device 14, thedevice 14 provides a subsequent response 91.

As illustrated, during the queuing phase 82, the CMD44 commands 88 mayinclude 32 bits of data that represent particular items designated bythe protocol 16. As illustrated, bits 0-15 may specify a number ofblocks 92, bits 16-20 may specify a Task ID 94, bits 21 and/or 22 may beunused 96 (e.g., reserved for future use) and/or may communicate aparticular access type 98, bit 23 may indicate a priority 100, bit 24may provide a forced programming indication 102, bits 25-28 mayindicated a context ID 104, bit 29 may provide a tag indication 106, bit30 may indicate direction, and/or bit 31 may indicate a reliable write.

In the current embodiment, the file-based access indicator 98 isconveyed in the CMD44 commands 88 associated with write tasks 93, usingan unused bit (e.g., bit 21 or bit 22). Accordingly, the access type iscommunicated during the queuing phase 82. From time to time, unused bits(e.g., bit 21 or bit 22) may be redefined as a bit used by the protocol16. Accordingly, in embodiments using a currently unused bit (as definedby the protocol 16), the bit used to convey the file-based accessindicator 98 may occasionally be redefined. For example, if, in asubsequent definition of the protocol 16, bit 22 is defined for use of adifferent functionality, the indicator 98 may be conveyed using bit 21(or other subsequent unused bit).

Eventually, the host 12 may schedule a polling inquiry (e.g., thepolling phase 84). For example, a series of CMD13 commands 112 may beprovided by the host 12 to the device 14, to determine if the device isready to begin the execution phase 86. The device 14 responds with queuestatus information 114. The host 12 can then decide whether queued tasksare ready for execution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 may initiate the execution phase 86. The host 12may provide one or more CMD47 commands 116 and/or CMD46 commands 118associated with the queued tasks 93 and/or 95.

In response, the device 14 may provide a response to the host 12.Subsequently, when the host 12 provides data writes (e.g., using CMD47commands 116), data blocks 46 and headers 120 may be provided by thehost 12 to the device 14. The header 120 of the write operation mayinclude the metadata and/or attributes 28 associated with the datablocks 46 provided by the CMD47 commands. For example, the header mayinclude a file identifier and/or metadata flag. Because the file-basedaccess indicator 98 indicates a file-based access indication, the device14 may interpret that the header information includes the metadataand/or attributes 28.

Because the metadata and/or attributes 28 are transmitted during theactual data transfer (e.g., in the header of the data transfer), thedevice 14 may not be able to utilize all functionalities that may beavailable if the metadata and/or attributes 28 were provided prior todata transfer. For example, in some scenarios, it may be more difficultto place data blocks based upon the metadata, when the metadata is notknown until during the data transfer initiation. Accordingly, certainembodiments below discuss possibilities for providing the metadata priorto data transfer.

FIG. 5 illustrates a process 140 for providing metadata and/orattributes 28 using an unused bit of a CMD44 command 88, in accordancewith an embodiment. As mentioned above, one or more tasks (e.g. readand/or writes) may be queued by the queuing phase 82. The queuedcommands may include an indicator 98 in unused bits of the command(block 142). For example, in FIG. 4, the write tasks 93 include theindicator 98 in bit 22, which is a currently unused bit in the protocoldefinition.

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the tasks 93 and/or 95 that are ready forimplementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 5, themetadata and/or attributes 28 are provided in headers during the datatransfer (block 144). Accordingly, the metadata and/or attributes 28 areprovided during the execution phase. In some embodiments, this may limitcertain functionalities of the device 14, however, in other embodiments,metadata and/or attributes 28 provided during the execution phase mayalso be useful.

2. Special Context Identifier Indicating File-Based Access

Alternative embodiments may use other portions of the protocol commandsto indicate metadata and/or attribute 28 provision operations. FIG. 6illustrates a detailed packet level transmission 160 for providing filemetadata, using a specialized context identifier in a command of thememory system protocol 16, in accordance with an embodiment.

Similar to the embodiment of FIG. 4, FIG. 6 illustrates command queuingtransactions that include three phases: a queuing phase 82, a pollingphase 84, and an execution phase 86. The queuing phase 82 includes CMD44protocol 16 commands 88 and CMD45 protocol 16 commands 90 that areprovided by the host 12 to queue data block write tasks 93 and/or readtasks 95.

To queue tasks 93 and/or 95, the CMD44 commands 88 are provided from thehost 12 to the managed memory system 14. Upon receiving the CMD44commands 88, the managed memory system 14 provides an acknowledgmentresponse 89 to the host 12. In response, the host 12 provides a CMD45command 90. The CMD45 commands 90 may be used to indicate a startaddress 87 of the queued read and/or write operations associated withthe tasks 93 and/or 95 in command queuing mode. Upon reception at thedevice 14, the device 14 provides a subsequent response 91.

Similar to the embodiment of FIG. 4, during the queuing phase 82, theCMD44 commands 88 may include 32 bits of data that represent particularitems designated by the protocol 16. As illustrated, bits 0-15 mayspecify a number of blocks 92, bits 16-20 may specify a Task ID 94, bits21 and/or 22 may be unused 96 (e.g., reserved for future use), bit 23may indicate a priority 100, bit 24 may provide a forced programmingindication 102, bits 25-28 may indicated a context ID 164, bit 29 mayprovide a tag indication 106, bit 30 may indicate direction, and/or bit31 may indicate a reliable write.

In the current embodiment, the file-based access indicator 98 isconveyed by specifying a specialized context identifier 164 in bits 25through 28 of the CMD44 commands 88 associated with write tasks 93.Accordingly, the access type is communicated during the queuing phase82.

Eventually, the host 12 may schedule a polling inquiry (e.g., thepolling phase 84). For example, a series of CMD13 commands 112 may beprovided by the host 12 to the device 14, to determine if the device isready to begin the execution phase 86. The device 14 responds with queuestatus information 114. The host 12 can then decide whether queued tasksare ready for execution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 may initiate the execution phase 86. The host 12may provide one or more CMD47 commands 116 and/or CMD46 commands 118. Inresponse, the device 14 may provide a response to the host 12.Subsequently, when the host 12 provides data writes (e.g., using CMD47commands 116), data blocks 46 and headers 120 may be provided by thehost 12 to the device 14. The headers 120 of the write operation mayinclude the metadata and/or attributes 28 (or portions 28A and/or 28B ofthe metadata and/or attributes 28) associated with the data blocksprovided by the CMD47 commands. For example, the header may include afile identifier and/or metadata flag. Because the specialized contextidentifier indicates a file-based access indication, the device 14 mayinterpret that the header information includes the metadata and/orattributes 28.

Similar to the embodiments of FIG. 4, because the metadata and/orattributes 28 are transmitted during the actual data transfer (e.g., inthe header of the data transfer), the device 14 may not be able toutilize all functionalities that may be available if the metadata and/orattributes 28 were provided prior to data transfer. For example, it maybe more difficult to place data blocks based upon the metadata and/orattributes 28, when the metadata and/or attributes 28 are not knownuntil during the data transfer initiation of the execution phase.Accordingly, certain embodiments below discuss possibilities forproviding the metadata and/or attributes 28 prior to data transfer.

FIG. 7 illustrates a process 180 for providing metadata using aspecialized context identifier of a CMD44 command 88, in accordance withan embodiment. As mentioned above, one or more tasks (e.g. read and/orwrites) may be queued by the queuing phase 82. The queued commands mayinclude an indicator 98 by providing a specialized context identifier164 in the command (block 182). For example, in FIG. 6, the write tasks93 include the indicator 98 as a specialized context identifier 164 inbits 25-28 of the CMD44 88.

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the task 93 and/or 95 that are ready for implementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 7, themetadata and/or attributes 28 are provided in headers during the datatransfer (block 184). Accordingly, the metadata and/or attributes 28 areprovided during the execution phase. In some embodiments, this may limitcertain functionalities of the device 14, however, in other embodiments,metadata and/or attributes 28 provided during the execution phase mayalso be useful.

As mentioned above, it may be useful to provide the metadata and/orattributes 28 prior to the execution phase 86. For example, earlierprovision of the metadata and/or attributes 28 may enable the metadataand/or attributes 28 to be used during the execution phase 86. Thefollowing embodiments illustrated techniques for providing the metadataand/or attributes 28 prior to the execution phase 86 (e.g., during thequeuing phase 82). This may be done, for example, by providing a contextindication that indicates a write operation 93 relates to metadataand/or attribute 28 transmissions. The metadata and/or attributes 28 maythen be provided via one or more commands in the queuing phase 82.

b. Embodiments where Attributes are Transmitted at Queuing Phase

As mentioned above, in certain embodiments, the attributes may betransferred from the host device 12 to the managed memory system 14during the queuing phase. Transferring the attributes during the queuingphase may be more desirable than transferring the attributes during theexecution phase, as the attributes may be available for use prior to theexecution of tasks in the execution phase.

1. Transmitting an Access Type and Attributes Via CMD44

For example, returning to FIG. 6, in some embodiments, the file accesstype indicator 98 may be provided by an unused bit (e.g., a bit reservedfor future use, such as bit 21). The metadata flag may be provided in inthe tag indication 106 (e.g., at bit 29). Accordingly, the metadata flagmay be provided in the queuing phase 82, prior to the execution phase86, via the CMD44 commands 88.

Further, in some embodiments, the tag indication 106 (e.g., at bit 29),and the unused bit 96 (e.g., at bit 21 and/or 22) may be used inconjunction with the context identifier 164 (e.g., at bits 25-28) toprovide immediate partition access along with the file-based accessdescribed herein. For example, the unused bit 96 may be used as animmediate partition access flag 162. The immediate partition access flagmay indicate whether the context identifier 164 represents a legacycontext identifier (e.g., by being set to “0”) or the context identifier164 represents a target partition for immediate access (e.g., by beingset to “1”). In such embodiments, the unused bits 96 (e.g., bit 22) mayalso be used as a file-based access indicator 166 (e.g., to indicatethat metadata and/or attributes 28 are being transmitted). When thefile-based access indicator is set to “1”, the tag indicator 106 maydescribe what metadata and/or attributes 28 are being provided via thecontext identifier 164. For example, when the indicator 166 is set to“1” and the tag indicator 29 is set to “0”, the information transmittedmay be file identifiers associated with data blocks. When the tagindicator 29 is set to “1”, the information transmitted may be ametadata flag associated with the data.

When the indicator 166 is set to “1” and the immediate partition accessindicator 162 is set to “0”, file-based without immediate partitionaccess is implemented. Further, when the indicator 166 is set to “1” andthe immediate partition access indicator 162 is set to “1”, file-basedand immediate partition access is implemented.

2. Transmitting an Access Type and Attributes Via a New Command

Turning now to an embodiment where a new command is introduced for usein the protocol 16 communications, FIG. 8 illustrates a detailed packetlevel transmission 200 for providing file metadata, using a new commandof the memory system protocol that specifies the access type andmetadata, in accordance with an embodiment. Similar to the other commandqueuing embodiments, transmission 200 includes a queuing phase 82, apolling phase 84, and an execution phase 86.

Unlike the embodiments of FIGS. 4 and 6, the current embodiment providesboth the file-based access indicator and the metadata and/or attributes28 (e.g., the file identifier and/or metadata flag) in the queuing phase82. This is done by introducing a new command code (e.g., CMD58 202)that can provide the file-based access indicator 98 as well as provide aheader (e.g., a 4 byte header) that contains the metadata and/orattributes 28 (or portions of the metadata and/or attributes 28A, 28B,etc.).

The CMD58 commands 202 may replace CMD44 commands (e.g., commands 88 ofFIGS. 4 and 6). Similar to the response triggered by receiving CMD44commands 88 in FIGS. 4 and 6, upon receiving and/or processing the CMD58commands 202, the device 14 may provide a response 89 to the host 12.Further, any number of CMD58 commands 202 may be provided in the queuingphase 82. The CMD45 commands 90 may be used to indicate a start address87 for a read and/or write operation associated with the tasks 93 and/or95.

Eventually, the host 12 may schedule a polling inquiry (e.g., thepolling phase 84). For example, a series of CMD13 commands 112 may beprovided by the host 12 to the device 14, to determine if the device isready to begin the execution phase 86. The device 14 responds with queuestatus information 114. The host 12 can then decide whether queued tasksare ready for execution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 may initiate the execution phase 86. The host 12may provide one or more CMD47 commands 116 and/or CMD46 commands 118. Inresponse, the device 14 may provide a response to the host 12.Subsequently, when the host 12 provides data writes (e.g., using CMD47commands 116), data blocks 46 may be provided by the host 12 to thedevice 14.

Unlike the embodiments of FIGS. 4 and 6, the metadata and/or attributes26 are transmitted during the queuing phase 82, and thus, are availablefor use during the execution phase 86. Accordingly, the metadata and/orattributes 28 may be used to facilitate the file metadata and/orattribute 28-based placement techniques described in the discussion ofFIG. 2.

FIG. 9 illustrates a process 220 for providing metadata using a newcommand (e.g., CMD58 202 of FIG. 8), in accordance with an embodiment.As mentioned above, one or more tasks (e.g. read and/or writes) may bequeued by the queuing phase 82. The queued commands 202 may accept anindicator 98 and/or the metadata and/or attributes 28, which may beprovided to the device 14 during the queuing phase 82. For example, inFIG. 8, the write tasks 93 are queued using the CMD58 202, whichprovides the indicator 98, the file identifier, and/or a metadata flag(block 222).

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the task 93 and/or 95 that are ready for implementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 8, themetadata and/or attributes 28 are provided in headers during the queuingphase. Accordingly, the metadata and/or attributes 28 may be used duringthe execution phase.

3. Transmitting an Access Type Via a Context Identifier

As above, some embodiments with a custom queuing command may use aspecialized context identifier to indicate file-based access. FIGS.10-15 illustrate a detailed packet level transmissions for providingfile metadata, using a series of commands of the memory system protocolthat specify the context and metadata, in accordance with embodiments.

A. Transmitting Attributes Via a New Command

Starting first with the embodiment of FIG. 10, FIG. 10 illustrates adetailed packet level transmission 240 for providing file metadataand/or attributes 28, using a specialized context identifier 164 incombination with a new command 242 (e.g., a CMD57 command).

Once again, the packet level transmission 240 includes a queuing phase82, a polling phase 84, and an execution phase 86. In the currentembodiment, the indicator 98 may be a specialized context identifier 164that is transferred to the device 14 using a CMD44 command 88.Additionally, the metadata and/or attributes 28 may be provided inblocks (e.g., 4 byte blocks, as illustrated), using a new command 242(e.g., a CMD57 command). The new command 242 is issued during thecommand queuing phase 82 to transfer the header (e.g., having themetadata and/or attributes 28) to the device 14. Accordingly, similar tothe embodiment of FIG. 8, the current embodiment transfers the metadataand/or attributes 28 prior to the execution phase 86, enabling usage ofthe metadata and/or attributes 28 during the execution phase 86.

Eventually, the host 12 may schedule a polling inquiry (e.g., thepolling phase 84). For example, a series of CMD13 commands 112 may beprovided by the host 12 to the device 14, to determine if the device isready to begin the execution phase 86. The device 14 responds with queuestatus information 114. The host 12 can then decide whether queued tasksare ready for execution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 may initiate the execution phase 86. The host 12may provide one or more CMD47 commands 116 and/or CMD46 commands 118. Inresponse, the device 14 may provide a response 117 to the host 12.Subsequently, when the host 12 provides data writes (e.g., using CMD47commands 116), data blocks 46 may be provided by the host 12 to thedevice 14.

Unlike the embodiments of FIGS. 4 and 6, the metadata and/or attributes26 are transmitted during the queuing phase 82, and thus, are availablefor use during the execution phase 86. Accordingly, the metadata and/orattributes 28 may be used to facilitate the file metadata and/orattribute 28-based placement techniques described in the discussion ofFIG. 2.

FIG. 11 illustrates a process 260 for providing a specialized contextidentifier 164 indicator 98 and metadata and/or attributes 28 using anew command (e.g., CMD57 242 of FIG. 8), in accordance with anembodiment. As mentioned above, one or more tasks (e.g. read and/orwrites) may be queued by the queuing phase 82. The queued commands 202may provide an indicator 98 via a specialized context identifier 164(block 262). Further, a new queuing command 242 may provide the metadataand/or at ibutes 28 to the device 14 during the queuing phase 82 (block264). For example, in FIG. 10, the write tasks 93 are queued using aspecialized context identifier 164 in a CMD44 command 88 and themetadata and/or attributes 28 are provided using a new command 242(e.g., CMD57).

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the task 93 and/or 95 that are ready for implementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 10, themetadata and/or attributes 28 are provided in headers during the queuingphase. Accordingly, the metadata and/or attributes 28 may be used duringthe execution phase.

B. Transmitting Attributes Via Several CMD45 Commands

FIG. 12 illustrates a detailed packet level transmission 280 forproviding file metadata and/or attributes 28 using one or more CMD45commands 90 and an indicator 98 via a specialized context identifier164, in accordance with an embodiment. In the embodiment of FIG. 12, thequeuing phase 82 includes CMD44 commands 88 and CMD45 commands 90. TheCMD44 commands 88 provide an indicator 98 via a specialized contextidentifier 164. Further, the CMD45 commands 90 provide at least aportion of the metadata and/or attributes 28. For example, in theillustrated embodiment, 4 byte blocks of 8 bytes of metadata and/orattributes 28 are provided via two CMD45 commands 90. As above, theCMD44 commands 88 result in a response 89 and the CMD45 commands 90result in a response 91 from the device 14. After the transfer of themetadata and/or attributes 28, a subsequent CMD45 command 90 may be usedto provide a start address 87 of the queued operations associated withthe tasks 93 and/or 95.

From there, the polling phase and the execution phase may be implementedsimilar to the embodiment of FIG. 10. Eventually, the host 12 mayschedule a polling inquiry (e.g., the polling phase 84). For example, aseries of CMD13 commands 112 may be provided by the host 12 to thedevice 14, to determine if the device is ready to begin the executionphase 86. The device 14 responds with queue status information 114. Thehost 12 can then decide whether queued tasks are ready for execution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 may initiate the execution phase 86. The host 12may provide one or more CMD47 commands 116 and/or CMD46 commands 118. Inresponse, the device 14 may provide a response 117 to the host 12.Subsequently, when the host 12 provides data writes (e.g., using CMD47commands 116), data blocks 46 may be provided by the host 12 to thedevice 14.

The metadata and/or attributes 26 are transmitted during the queuingphase 82, and thus, are available for use during the execution phase 86.Accordingly, the metadata and/or attributes 28 may be used to facilitatethe file metadata and/or attribute 28-based placement techniquesdescribed in the discussion of FIG. 2.

FIG. 13 illustrates a process 300 for providing a specialized contextidentifier 164 indicator 98 and metadata and/or attributes 28 usingCMD45 commands 90, in accordance with an embodiment. As mentioned above,one or more tasks (e.g. read and/or writes) may be queued by the queuingphase 82. The queued commands 202 may provide an indicator 98 via aspecialized context identifier 164 (block 302). Further, CMD45 commands90 may provide the metadata and/or attributes 28 to the device 14 duringthe queuing phase 82 (block 304). For example, in FIG. 12, the writetasks 93 are queued using a specialized context identifier 164 in aCMD44 command 88 and the metadata and/or attributes 28 are providedusing CMD45 commands 90. By reusing the CMD45 commands 90, no newcommands need be introduced to provide the metadata and/or attributes28.

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the task 93 and/or 95 that are ready for implementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 12, themetadata and/or attributes 28 are provided in headers during the queuingphase. Accordingly, the metadata and/or attributes 28 may be used duringthe execution phase.

C. Transmitting Attributes Via Several CMD44/45 Pairs

In some embodiments, pairs of commands may be used to provide theindicator 98 and the metadata and/or attributes 28. FIG. 14 illustratessuch an embodiment 320. In FIG. 14, the queuing phase 82 includes pairs322 of CMD44 commands 88 and CMD45 commands 90. In some embodiments, theCMD44 commands 88 provide an indicator 98 via a specialized contextidentifier 164. Alternatively, a file access type indicator 98 may beprovided via another bit in the CMD44 command 88 (e.g., bit 22).Further, the CMD45 commands 90 provide at least a portion of themetadata and/or attributes 28. For example, in the illustratedembodiment, pairs 322 may be provided until an entire file identityand/or metadata flag is provided to the device 14. As above, the CMD44commands 88 result in a response 89 and the CMD45 commands 90 result ina response 91 from the device 14. After the transfer of the metadataand/or attributes 28, a subsequent CMD45 commands 90 may be used toprovide a start address 87 of the queued operations associated with thetasks 93 and/or 95.

From there, the polling phase and the execution phase may be implementedsimilar to the embodiments of FIGS. 10 and 12. Eventually, the host 12may schedule a polling inquiry (e.g., the polling phase 84). Forexample, a series of CMD13 commands 112 may be provided by the host 12to the device 14, to determine if the device is ready to begin theexecution phase 86. The device 14 responds with queue status information114. The host 12 can then decide whether queued tasks are ready forexecution.

Once an indication is received that the device 14 is ready for taskexecution, the host 12 initiate the execution phase 86. The host 12 mayprovide one or more CMD47 commands 116 and/or CMD46 commands 118 perpair 322. In response, the device 14 may provide a response 117 to thehost 12. Subsequently, when the host 12 provides data writes (e.g.,using CMD47 commands 116), data blocks 46 may be provided by the host 12to the device 14.

4. Transmitting an Access Type and Attributes Via CMD44/CMD45/CMD46Sequences

Building upon the CMD44/45 pairing embodiment 320, in some embodiments,a CMD48 may be used to extend command queuing functionalities and/orenhance task management and device management functions, resulting inthe. A command queuing extension bit (CQEXT bit) may be added via anunused bit of CMD44 commands 88 (e.g., a bit reserved for future use,such as unused bit 96 at bit 22 of FIG. 6). When the CQEST bit is set to“1”, the pairs 322 may be followed by a CMD48 command, which maydescribe, for example, a file identifier hash, the metadata flag, etc.The CMD48 command may be lined to one or more task descriptors and newtask management descriptors may be created to describe a file identifierhash and/or metadata flag task.

The metadata and/or attributes 26 are transmitted during the queuingphase 82, and thus, are available for use during the execution phase 86.Accordingly, the metadata and/or attributes 28 may be used to facilitatethe file metadata and/or attribute 28-based placement techniquesdescribed in the discussion of FIG. 2.

FIG. 15 illustrates a process 340 for providing an indicator 98 via aspecialized context identifier 164 and providing metadata and/orattributes 28 using CMD45 commands 90, in accordance with an embodiment.As mentioned above, one or more tasks (e.g. read and/or writes) may bequeued by the queuing phase 82. The queued commands 202 may provide anindicator 98 via a specialized context identifier 164 of a CMD44 command88 and provide the metadata and/or attributes 28 to the device 14 viaone or more corresponding CMD45 commands 90. The CMD44 commands 88 andCMD45 commands 90 may be paired and provided as a paired unit (block342). Additional pairs may be provided until all metadata and/orattributes during the queuing phase 82 (e.g., as determined by decisionblock 344).

Next, the polling phase 84 is initiated to determine which and how manyof the tasks 93 and/or 95 are ready for implementation. For example, thedevice 14 may provide queue status information 114 that enables the host12 to determine the task 93 and/or 95 that are ready for implementation.

When the device 14 is ready for the execution of particular tasks 93and/or 95, the execution phase 86 begins. The tasks 93 and/or 95 areexecuted from the host 12 to the device 14. As indicated in FIG. 14, themetadata and/or attributes 28 are provided in headers during the queuingphase. Accordingly, the metadata and/or attributes 28 may be used duringthe execution phase.

ii. Non-Command Queuing Embodiments

Having now discussed the embodiments where command queuing is involved,the discussion now turns to non-command queued embodiments, where asingle command is sent by the host 12 to the device 14. For non-commandqueuing embodiments, multiple options for transmitting the metadataand/or attributes 28 may exist. For example, one option is to providethe metadata and/or attributes 28 via a header of a write operation.Additionally, registers, such as an Extended Card Specific Data (CSD)register (EXT_CSD register), may be used to transfer the metadata and/orattributes 28. Further, another option may be to extend a packed commandmechanism to enable transmission of the metadata and/or attributes 28.

a. Header Based Transactions

Turning first to a discussion of header-based metadata and/or attribute28 transmission, FIG. 16 illustrates a detailed packet leveltransmission 360 for providing file metadata and/or attributes 28, usinga header-based transaction of the memory system protocol, in accordancewith an embodiment. As illustrated in FIG. 16, one or more CMD23commands 362 may be provided from the host 12 to the device 14 todescribe the number of sectors that will be written in a writeoperation.

The protocol 16 may define a particular bit structure 364 for the CMD23commands 362. For example, bits 0-15 may include an identification 366of a number of blocks of data for the write operation. Bits 16-22 mayall be “0”, as indicated by 368. Bit 23 may be unused in the protocol16. Accordingly, bit 23 may be assigned to provide an indication 370 ofwhether or not the write operation is a special write (e.g., write ofmetadata and/or attributes 28). Forced programming data 372 may beprovided in bit 24. A context identifier 374 may be provided in bits25-28. A tag 376 may be provided in bit 29. Packed command data 378 maybe provided in bit 30 and a reliable write indicator 380 may be providedin bit 31.

As the host 12 desires to provide new write operations to the device 14,one or more CMD23 commands 362 are provided to the device 14. Theindication 370 at bit 23 may be set as “1” when metadata and/orattributes 28 will be provided.

In response to the CMD23 commands 362, the device 14 may provide aresponse 382, indicating that the CMD23 commands 362 were receivedand/or that the device 14 is ready to receive the actual writeoperation. Upon receipt of the response 382, the host 12 may provide awrite command start address (e.g., a CMD25 command 384), which maytrigger the actual data write operation. Further, the host may gatherthe metadata and/or other attributes 28 (e.g., a file identifier and/ora metadata flag) and provide the metadata and/or other attributes 28upon receiving a CMD25 response 390 from the device 14. For example, asillustrated, provision of a write header 392 may precede provision ofthe data blocks 46.

As illustrated, the write header 392 may incorporate the metadata and/orattributes 28, such as the file identifier 386 and/or metadata flag388). Accordingly, upon provision of the header 392, the device 14 hasaccess to the metadata and/or attributes 28.

b. Register Based Configuration

In some embodiments, rather than transmitting the metadata and/orattributes 28 during the write operation, the metadata and/or attributes28 may be provided to a register of the device 14 prior to the writeoperation. For example, FIG. 17 illustrates a detailed packet leveltransmission 410 for providing file metadata, using a register-basedtransaction (e.g., a CMD6 command 412) of the memory system protocol, inaccordance with an embodiment. The CMD6 command 412 may be used toprovide certain metadata and/or attributes 28 (e.g., file identification413) to a register (e.g., Extended Card Specific Data (CSD) register414). In the current embodiment, 8 unused bytes (e.g., bytes 7-14) ofthe Extended CSD register 414 are used to encode the file identifier413.

Upon receiving and processing the CMD6 command 412, the device 14 mayprovide a response 416 to the host 12. The response 416 may indicatewhether the CMD6 command 412 was processed successfully.

Subsequently, a CMD23 command 418 may provide context for a subsequentwrite command. For example, the CMD23 command 418 may provide anindication 420 that a subsequent command is a file identification update422 or an indication 424 that a subsequent command is a metadata flagupdate 426. In the current embodiment, bits 23 and 22 provide theindications 420 and 422, respectively. In alternative embodiments, anyunused bits may be used to provide the indication 420 and 424.

A response 428 may be provided in response to receiving and processingthe CMD23 command 418. Upon receiving the response 428, the host 12 maydetermine that the write operation may proceed. Accordingly, a CMD25command 384 may be provided to the device 14. The CMD25 may include astart address for the file identifier update and/or the metadata flagupdate.

Upon receiving and/or processing the CMD25 command 384, the device 14may provide a response 428 to the host 12. The host may then send thedata blocks 46 to the device 14.

c. Packed Command Extension

In some embodiments, metadata and/or attributes 28 may be provided withpacked command functionality. Packed commands allow multiple writeoperations in a single transaction. FIG. 18 illustrates a detailedpacket level transmission 450 for providing file metadata and/orattributes 28, using packed command extensions of the memory systemprotocol 16, in accordance with an embodiment.

As above, the protocol 16 may define a particular bit structure 364 forthe CMD23 commands 362. For example, bits 0-15 may include anidentification 366 of a number of blocks of data for the writeoperation. Bits 16-22 may all be “0”, as indicated by 368. Bit 23 may beunused in the protocol 16. Forced programming data 372 may be providedin bit 24. A context identifier 374 may be provided in bits 25-28. A tag376 may be provided in bit 29. Packed command data 378 may be providedin bit 30 and reliable write indicator 380 may be provided in bit 31.

As the host 12 desires to provide packed operations to the device 14,one or more CMD23 commands 362 are provided to the device 14. The CMD23commands 362 include packed operations 452.

In response to the CMD23 commands 362, the device 14 may provide aresponse 382, indicating that the CMD23 commands 362 were receivedand/or that the device 14 is ready to receive the actual writeoperation. Upon receipt of the response 382, the host 12 may provide awrite command (e.g., a CMD25 command 384), which may trigger the actualdata write operation. Further, the host may gather the metadata and/orother attributes 28 (e.g., a file identifier 422 and/or a metadata flag426) and provide the metadata and/or other attributes 28 upon receivinga CMD25 response 390 from the device 14. For example, as illustrated,provision of a packed command header 454 may precede provision of thedata blocks 46. The packed command header 454 may include an versionfield 456 that may act as an indication 98 that a special write is to beexecuted (e.g. a file-based access). For example, the protocol maydefine that the version is 0. Thus, the version may be modified fromzero to provide the indication 98.

When the indication 98 is present, the metadata and/or attributes 28 maybe obtained from the packed command header 454. For example, in thecurrent embodiment bytes 8-23 contain the file identifier update 422 andbyte 24 includes the metadata flag update 426.

As illustrated, the write header 392 may incorporate the metadata and/orattributes 28, such as the file identifier 386 and/or metadata flag388). Accordingly, upon provision of the header 392, the device 14 hasaccess to the metadata and/or attributes 28.

Using the techniques provided herein, metadata and/or attributes 28 maybe provided from higher levels of an operating system (e.g., a host 12)to a non-volatile managed memory system 14. This metadata and/orattributes 28 may enable new functionalities at the managed memorysystem 14, resulting in increased efficiencies in the managed memorysystem 14.

While the embodiments described herein may be susceptible to variousmodifications and alternative forms, specific embodiments have beenshown by way of example in the drawings and have been described indetail herein. However, it should be understood that the disclosure isnot intended to be limited to the particular forms disclosed. Rather,the disclosure is to cover all modifications, equivalents, andalternatives falling within the spirit and scope of the techniques andsystem described in the disclosure as defined by the following appendedclaims.

What is claimed is:
 1. A memory device, comprising: a memory componentconfigured to store data; controller circuitry, configured to: receive,from a host electronic device, one or more commands of a memory systemprotocol, wherein the one or more commands comprise: at least one writecommand, the write command comprising one or more blocks of data to bestored in the memory component; and contextual file system data for theone or more blocks of data, the contextual file system data comprisingfile metadata, file attributes, or both that identify an association ofthe one or more blocks of data with a file, wherein the file comprisesthe one or more blocks of data; and execute the one or more commands,such that the controller circuitry of the memory device is aware of theassociation of the one or more blocks of data with the file and cancontrol placement of the one or more blocks in the memory componentbased upon the association.
 2. The memory device of claim 1, wherein theone or more commands comprise commands implemented via command queuing,where a plurality of commands are queued prior to execution by thecontroller circuitry.
 3. The memory device of claim 2, wherein the oneor more commands comprise: a queue command comprising an indicator thatthe file metadata, the file attributes or both will be provided to thecontroller circuitry, wherein the file metadata, the file attributes orboth are provided in a header of an execution command associated withthe queue command.
 4. The memory device of claim 3, wherein the one ormore commands are commands of an embedded multimedia card (eMMC)protocol, wherein the queue command comprises a CMD44 command and theexecution command comprises a CMD47 command.
 5. The memory device ofclaim 2, wherein the one or more commands comprise: a queue commandcomprising a context indicator, the context indicator comprising adedicated context that indicates that the file metadata, the fileattributes or both will be provided to the controller circuitry, whereinthe file metadata, the file attributes or both are provided in a headerof an execution command associated with the queue command.
 6. The memorydevice of claim 5, wherein the one or more commands are commands of anembedded multimedia card (eMMC) protocol, wherein the queue commandcomprises a CMD44 command and the execution command comprises a CMD47command.
 7. The memory device of claim 2, wherein the one or morecommands comprise: at least one first queue command configured toprovide a context indicator that the file metadata, the file attributesor both will be provided to the controller circuitry; and at least onesecond queue command configured to provide a header specifying the filemetadata, the file attributes or both.
 8. The memory device of claim 7,wherein the one or more commands are commands of an embedded multimediacard (eMMC) protocol, wherein the first queue command comprises a CMD44command and the second queue command comprises a newly introducedcommand to the memory system protocol.
 9. The memory device of claim 7,wherein the one or more commands are commands of an embedded multimediacard (eMMC) protocol, wherein the first queue command comprises a CMD44command and the second queue command comprises a CMD45 command.
 10. Thememory device of claim 9, wherein the one or more commands comprise aplurality of CMD44 and CMD45 commands, wherein a number of pairs ofCMD44 and CMD45 commands is based upon a size of the file metadata, thefile attributes or both.
 11. The memory device of claim 1, wherein theone or more commands comprise commands implemented without commandqueuing.
 12. The memory device of claim 11, wherein the one or morecommands comprise a first command configured with a packed commandscheme; wherein the packed command scheme enables a plurality oftransactions to be executed by the controller circuitry via one command;wherein the first command, a header associated with the first command,or both comprise an indicator that the file metadata, the fileattributes or both will be provided to the controller circuitry, andwherein the header specifying the file metadata, the file attributes orboth is received by the controller circuitry based upon receiving thefirst command.
 13. The memory device of claim 12, wherein the one ormore commands are commands of an embedded multimedia card (eMMC)protocol, wherein the first command comprises a CMD23 command, andwherein the indicator is specified in a bit of the CMD23 command thatwas previously defined by the eMMC protocol as reserved, unused, orboth.
 14. The memory device of claim 12, wherein the one or morecommands are commands of an embedded multimedia card (eMMC) protocol,wherein the first command comprises a CMD23 command comprising packedcommands, and wherein the indicator is specified as a version in theheader.
 15. The memory device of claim 11, wherein the one or morecommands comprise: a first command configured to encode the filemetadata, the file attributes or both to a register; a second commandconfigured to configured to indicate that the file metadata, the fileattributes or both will be provided to the controller circuitry in athird command; and the third command configured to update, at the memorydevice, the encoded metadata, attributes, or both at the register. 16.The memory device of claim 15, wherein the one or more commands arecommands of an embedded multimedia card (eMMC) protocol, wherein thefirst command comprises a CMD6 command, wherein the second commandcomprises a CMD23 command, and wherein the third command comprises aCMD25 command.
 17. A host electronic device, comprising: a file systemstoring one or more files; driver circuitry, configured to: provide oneor more commands to a memory device, wherein the one or more commandsconform to a memory system protocol used by the memory device, whereinthe one or more commands comprise: at least one write command, the writecommand comprising one or more blocks of data to be stored in the memorydevice, the one or more blocks of data comprising at least a portion ofthe one or more files; and contextual file system data for the one ormore blocks of data, the contextual file system data comprising filemetadata, file attributes, or both that identify an association of theone or more blocks of data with a particular file of the one or morefiles, wherein the particular file comprises the one or more blocks ofdata; wherein the one or more commands enable the memory device to:identify the association of the one or more blocks of data with theparticular file; and control placement of the one or more blocks in thememory device based upon the association.
 18. The host electronic deviceof claim 17, wherein the one or more commands comprise: a queue commandcomprising an indicator that the file metadata, the file attributes orboth will be provided to controller circuitry of the memory device,wherein the file metadata, the file attributes or both are provided in aheader of an execution command associated with the queue command. 19.The host electronic device of claim 18, wherein the one or more commandsare commands of an embedded multimedia card (eMMC) protocol, wherein thequeue command comprises a CMD44 command and the execution commandcomprises a CMD47 command.
 20. The host electronic device of claim 17,wherein the one or more commands comprise: a queue command comprising acontext indicator, the context indicator comprising a dedicated contextthat indicates that the file metadata, the file attributes or both willbe provided to controller circuitry of the memory device; wherein thefile metadata, the file attributes or both are provided in a header ofan execution command associated with the queue command.
 21. The hostelectronic device of claim 20, wherein the one or more commands arecommands of an embedded multimedia card (eMMC) protocol, wherein thequeue command comprises a CMD44 command and the execution commandcomprises a CMD47 command.
 22. The host electronic device of claim 17,wherein the one or more commands comprise: at least one first queuecommand configured to provide a context indicator that the filemetadata, the file attributes or both will be provided to controllercircuitry of the memory device; and at least one second queue commandconfigured to provide a header specifying the file metadata, the fileattributes or both.
 23. The host electronic device of claim 22, whereinthe one or more commands are commands of an embedded multimedia card(eMMC) protocol, wherein the first queue command comprises a CMD44command and the second queue command comprises a newly introducedcommand to the memory system protocol.
 24. The host electronic device ofclaim 22, wherein the one or more commands are commands of an embeddedmultimedia card (eMMC) protocol, wherein the first queue commandcomprises a CMD44 command and the second queue command comprises a CMD45command, and wherein the one or more commands comprise a plurality ofCMD44 and CMD45 commands, wherein a number of pairs is based upon a sizeof the file metadata, the file attributes or both.
 25. The hostelectronic device of claim 17, wherein the one or more commands comprisea first command configured with a packed command scheme; wherein thepacked command scheme enables a plurality of transactions to be executedby controller circuitry of the memory device via one command; whereinthe first command, a header associated with the first command, or bothcomprise an indicator that the file metadata, the file attributes orboth will be provided to the controller circuitry; and wherein theheader specifying the file metadata, the file attributes or both isreceived by the controller circuitry based upon receiving the firstcommand.
 26. The host electronic device of claim 25, wherein the one ormore commands are commands of an embedded multimedia card (eMMC)protocol, wherein the first command comprises a CMD23 command, andwherein the indicator is specified in a bit of the CMD23 command thatwas previously defined by the eMMC protocol as reserved, unused, orboth.
 27. The host electronic device of claim 25, wherein the one ormore commands are commands of an embedded multimedia card (eMMC)protocol, wherein the first command comprises a CMD23 command comprisingpacked commands, and wherein the indicator is specified as a version inthe header.
 28. The host electronic device of claim 17, wherein the oneor more commands comprise: a first command configured to encode the filemetadata, the file attributes or both to a register; a second commandconfigured to configured to indicate that the file metadata, the fileattributes or both will be provided to controller circuitry of thememory device in a third command; and the third command configured toupdate, at the memory device, the encoded file metadata, file attributesor both at the register.
 29. The host electronic device of claim 28,wherein the one or more commands are commands of an embedded multimediacard (eMMC) protocol, wherein the first command comprises a CMD6command, wherein the second command comprises a CMD23 command, andwherein the third command comprises a CMD25 command.
 30. A methodimplemented by a controller of a memory device, comprising: receiving,from a host electronic device, one or more commands of a memory systemprotocol, wherein the one or more commands comprise: at least one writecommand, the write command comprising one or more blocks of data to bestored in the memory device; and contextual file system data for the oneor more blocks of data, the contextual file system data comprising filemetadata, file attributes, or both that identify an association of theone or more blocks of data with a file, wherein the file comprises theone or more blocks of data; identifying the association of the one ormore blocks of data with the file; and executing the one or morecommands, such that the one or more blocks of data are stored in thememory device with a placement based upon the association.